if not exists (select * from syscolumns where id=object_id('tb_ErpPayment') and name='Pay_McNumber') begin alter table tb_ErpPayment add Pay_McNumber nvarchar(50) end